package com.tiancheng.trade.settlement.configuration;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 招商银行
 */
@Configuration
@Getter
public class CmbConfiguration {

    /**
     * 域名
     */
    @Value(value = "${cmb.server-path}")
    private String domain;

    /**
     * app id
     */
    @Value(value = "${cmb.app-id}")
    private String appid;

    /**
     * app key
     */
    @Value(value = "${cmb.app-key}")
    private String appKey;

    /**
     * 私钥路径
     */
    @Value(value = "${cmb.app-key-path}")
    private String appKeyPath;

    /**
     * 支付对账文件保存路径
     */
    @Value(value = "${cmb.pay-save-path}")
    private String paySavePath;

    /**
     * 腾云的商户编号
     */
    @Value(value = "${cmb.tengyun-merchant-code}")
    private String tengyunMerchantCode;

    /**
     * 对账单下载地址获取
     */
    @Value(value = "${cmb.url.mchorders-statementurl}")
    private String mchordersStatementUrl;


}
